home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Clickx 115
/
Clickx 115.iso
/
software
/
tools
/
windows
/
tails-i386-0.16.iso
/
live
/
filesystem.squashfs
/
usr
/
local
/
bin
/
tails-documentation
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2012-10-24
|
394 b
|
21 lines
#! /bin/sh
if [ $# -ge 1 ]; then
PAGE="$1"
else
PAGE='index'
fi
WIKI_ROOT='/usr/share/doc/tails/website'
LANG_CODE="`echo ${LANG} | head -c 2`"
if [ -r "${WIKI_ROOT}/${PAGE}.${LANG_CODE}.html" ]; then
FILE="${PAGE}.${LANG_CODE}.html"
elif [ -r "${WIKI_ROOT}/${PAGE}.en.html" ]; then
FILE="${PAGE}.en.html"
else
FILE="${PAGE}.html"
fi
exec yelp "file://${WIKI_ROOT}/${FILE}"